<%@page import="siteflash.model.Game"%>
<%@page contentType="text/xml;charset=UTF-8" language="java"%>
<%@page import="java.util.List"%>
<urlset
      xmlns="http://www.sitemaps.org/schemas/sitemap/0.9"
      xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
      xsi:schemaLocation="http://www.sitemaps.org/schemas/sitemap/0.9
            http://www.sitemaps.org/schemas/sitemap/0.9/sitemap.xsd">
  <url>
    <loc>http://freehotgame.appspot.com/</loc>
  </url>
    <%
    List<Game> games= (List<Game> )request.getAttribute("games");
    for(Game game : games)
    {
    %>
    <url>
      <loc>http://freehotgame.appspot.com/game/<%=game.getAlias()%></loc>
    </url>
    <%
    }
    %>
</urlset>